<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: 'App',
  methods: {
    // 定义函数来处理路由导航11
    navigateTo(routeName) {
      this.$router.push({ name: routeName });
    }
  }
}
</script>